<!DOCTYPE html>
<!-- saved from url=(0041) -->
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>WCP</title>

    {% load static %}
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
    <link rel="icon" href="http://demo.wcpdoc.com/favicon.ico" mce_href="favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="http://demo.wcpdoc.com/favicon.ico" mce_href="favicon.ico" type="image/x-icon">
    <script type="text/javascript" src="{% static 'js/jquery-1.8.0.min.js' %}"></script>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link href="{% static 'css/bootstrap-theme.min.css' %}" rel="stylesheet">
    <script src="{% static 'js/bootstrap.min.js' %}"></script>
    <script src="{% static 'js/respond.min.js' %}"></script>
    <link href="{% static 'css/web-base.css' %}" rel="stylesheet">
    <link href="{% static 'css/web-succinct.css' %}" rel="stylesheet">
    <link href="{% static 'css/wcp-photoImgs.css' %}" rel="stylesheet">
    <style type="text/css">

        .wcp-photo-box a {
            color: #4d5356;
        }

        .wcp-photo-box a:HOVER {
            color: #D9534F;
        }
    </style>
</head>
<body>


<!-- class="navbar navbar-default|navbar-inverse" -->

<div class="navbar navbar-inverse navbar-fixed-top " role="navigation" style="margin: 0px;">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span
                    class="icon-bar"></span> <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" style="color: #ffffff; font-weight: bold; padding: 5px;"
               href=""> <img src="{% static 'images/index_img/Publogo.do' %}"
                             height="40" alt="WCP" align="middle">
            </a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">

                <li><a href="/index/"><span class="glyphicon glyphicon-home"></span>
                    首页</a></li>

                <li><a href="{% url 'category_list' %}"><span
                        class="glyphicon glyphicon-book"></span> 管理</a></li>
            </ul>


            <ul class="nav navbar-nav navbar-right hidden-xs" style="margin-right: 10px;">

                {#                <!-- 查询 -->#}
                {#                <li class="hidden-lg"><a href=""><span#}
                {#                        class="glyphicon glyphicon-search"></span></a></li>#}
                {##}

                <!-- 登录注册 -->
                {% if request.user_obj %}
                    <li><a href="" style="color: yellowgreen"><span
                            class="glyphicon glyphicon glyphicon-user"></span>欢迎你:  {{ request.user_obj.name }}</a></li>
                {% else %}
                    <li><a href="{% url 'login' %}"><span
                            class="glyphicon glyphicon glyphicon-user"></span> 登录</a></li>
                {% endif %}


            </ul>


            <form action="{% url 'search' %}" method="post" id="lucenesearchFormId"
                  style="margin-top: 10px;" class="navbar-form navbar-right hidden-xs hidden-sm hidden-md"
                  role="search">
                {% csrf_token %}
                <div class="form-group">
                    <div class="input-group" style="max-width: 160px;">
                        <input type="text" name="word" id="wordId" value="" class="form-control input-sm"
                               placeholder="检索词..."><span class="input-group-btn">
					<button type="submit" class="btn btn-default btn-sm">
						<span class="glyphicon glyphicon-search" aria-hidden="true"></span>检索
					</button>
				</span>
                    </div>
                </div>


            </form>

        </div>
    </div>
    <!-- /.navbar-collapse -->
</div>

<div class="containerbox">
    <div class="container">
        <div class="row">
            {% block big_pic %}
            {% endblock %}
            {#__轮播图__!#}
        </div>
    </div>
</div>

<div class="containerbox" style="min-height: 752px;">
    <div class="container">
        <div class="row">
            {% block page-main %}
            {% endblock %}
        </div>
    </div>
</div>


</body>
</html>